home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4041 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
  2. From: Dan Pop <danpop@mail.cern.ch>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Unbuffered character input...
  5. Date: Thu, 1 Feb 1996 13:08:19 +0100
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <9602011208.AA06949@dxmint.cern.ch>
  8. References: <Pine.SGI.3.91.960129190205.27936A-100000@tahiti.cs.unm.edu> <4elf0t$5vd@ixnews2.ix.netcom.com> <4ep3a1$bee@hacgate2.hac.com> <DM2zCI.379@emr1.emr.ca>
  9. X-NNTP-Posting-Host: hpl3sn03.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11. X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!dxmint.cern.ch!hpl3sn03.cern.ch
  12.  
  13. jagrant@emr1.emr.ca (John Grant) writes:
  14.  
  15. >In article <4ep3a1$bee@hacgate2.hac.com> collins@thor.tu.hac.com (Ron Collins) writes:
  16. >>
  17. >>There is no portable way to get unbuffered input, since C can't possibly
  18. >>know all about the dozens or hundreds of different terminal types available
  19. >>on all the machines made around the world.
  20. >>
  21. >>For best results (i.e., least evil alternative), check out the "curses"
  22. >>library available for your machine.  Most common flavors can be had for
  23. >>free from any SimTel mirror.
  24.  
  25. >    Does 'portability' or 'least evil' imply that everything that is
  26. >    not ANSI C be routed through a local version of a UNIX library?
  27.  
  28. No, it means that the curses library is available virtually on every
  29. platform.  Yes, it is true that it originated on Unix, but so did the
  30. stdio library and most of the other stuff in the standard C library.
  31.  
  32. P.S. I am sick of reading complaints and sarcastic remarks about the
  33.      style of the answers posted in c.l.c, especially when coming from people
  34.      who never bother to post (correct) answers.  If you don't like the
  35.      style or contents of an answer, feel free to post a better one instead
  36.      of whining.  It's considerably more constructive.
  37.  
  38. Dan
  39. -- 
  40. Dan Pop
  41. CERN, CN Division
  42. Email: danpop@mail.cern.ch 
  43. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  44.